Chris Pollett > Old Classes >
CS185c

( Print View )

Student Corner:
  [Grades Sec3]

  [Submit Sec3]

  [Class Sign Up Sec3]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW/Quiz Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HWs and Quizzes:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Quizzes]  [Project]

Practice Exams:
  [Mid]  [Final]

                           












HW#1 --- last modified February 28 2019 22:12:03..

Solution set.

Due date: Sep 14

Files to be submitted:
  Hw1.zip

Purpose: To develop your first mobile phone application, to get used to the development IDE.

Related Course Outcomes:

The main course outcomes covered by this assignment are:

Learning Outcome 1 (LO1) -- Create a working mobile phone application and test it both in a simulator and on a mobile device.
LO2 -- Write a mobile application that involves GUI components and makes use of touch events to manipulate these components.

Specification:

For this assignment you will create a mobile app which I describe below. You may create this app either for the iPhone or for Android. If you do both, I will give 1 bonus point. I would like to make sure everyone has at least one of the two development environments installed on their computer. So in class on the due date I will go around and get you individually to show me this. Also, in addition to the requirements below I would like you to make sure to create your own icon for the app you make.

When I was a pre-teenager, I used to like reading Choose-Your-Own-Adventure novels. You can go to a book store or library and still find these in the children's section. The basic idea of these stories is, you read a few pages, then are given the option of what to do. Depending on your choice you switch to a different page in the book and continue reading. For example, you might read something like: " You are deep-sea diving and you see an octopus... If you would like to give it a hug turn to page 20, if you would like to run away turn to page 30." For this assignment I would like you to build a choose-your-own adventure mobile phone app. The story should be implemented as a sequence of screens. On each screen you have a label with the current text of the story. (You may choose to have images too, if you like..) In addition to the story text, the label should also have choices of options A or B of what to do next. Beneath the label, there should be three buttons: Start, A, B. Hitting 'Start' goes back to the start of the story. Touching A or B should change the contents of the label with the continuation of the story according to that choice. Be creative! Have at least one path through you story involving three screens.

Point Breakdown

Demo of installed IDE 1 pt
Code is formatted and documented in a reasonable manner 1 pt
Application has its own graphical icon. 1 pt
Application when launched initially displays label and three buttons.(1/2 point/each) 2 pts
Each button works as described. (1pt/button) 3 pts
One path of at least 3 screens through the story. 2 pts
Total10pts